/*
 包含多个基于state的getter计算属性的对象
 */
export default {

  totalCount (state) {
    return state.address.reduce((preTotal, food) => preTotal + food.count , 0)
  },

}
